package com.ruoyi.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.business.domain.Beds;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;
import java.util.List;


/**
 * 宿舍视图对象 dormitory
 *
 * @author ruoyi
 * @date 2023-06-25
 */
@Data
@ExcelIgnoreUnannotated
public class DormitoryVo {

    private static final long serialVersionUID = 1L;
    private Long id;
    /**
     * 宿舍编号
     */
    @Excel(name = "宿舍编号")
    private String dormitoryId;

    /**
     * 楼栋号
     */
    private Long buildingNumber;

    /**
     * 楼栋名称
     */
    @Excel(name = "楼栋名称")
    private String buildingName;

    /**
     * 容纳人数
     */
    @Excel(name = "容纳人数")
    private Integer capacity;

    /**
     * 当前人数
     */
    @Excel(name = "当前人数")
    private Integer currentCapacity;

    /**
     * 管理员id
     */
    private Long adminId;

    /**
     * 是否有子集（床位的标记）
     */
//    @TableField(exist = false)
//    private Boolean  hasChildren=true;
    /**
     * 子集（床位）
     */
    @TableField(exist = false)
    private List<BedsVo> children;

    /**
     * 楼层
     */
    @Excel(name = "楼层")
    private Integer floor;
    /**
     * 性别
     */
    @Excel(name = "性别")
    private String gender;
    /**
     * 是否外包
     */
    @Excel(name = "是否外包")
    private String outsource;
    /**
     * 宿舍性质
     */
    @Excel(name = "宿舍性质")
    private String nature;
    /**
     * 缴费日期
     */
    @Excel(name = "缴费期")
    private String feeDate;
    /**
     * 缴费金额
     */
    @Excel(name = "金额")
    private String feeAmount;
    /**
     * 空调费
     */
    @Excel(name = "空调费")
    private String airConditioningFee;
    /**
     * 级别
     */
    @Excel(name = "级别")
    private String level;
    /**
     * 房租
     */
    @Excel(name = "房租")
    private String rent;
    /**
     * 标签
     */
    @Excel(name = "标签")
    private String mark;
    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;
}
